package com.springcloud.microserviceeurekaorder.hystrix;

import com.springcloud.microserviceeurekaorder.service.IHelloService;
import org.springframework.stereotype.Component;

@Component
public class HelloHystrix implements IHelloService {

    @Override
    public String hello() {
        return "哎，出错了！服务器雪崩！";
    }

    @Override
    public String nice() {
        return "哎，出错了！服务器雪崩！";
    }
}
